package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 营销广告管理实体类
 *
 * @author
 * @date 2017年5月19日 下午8:03:37
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_B_MARKETING_ADS")
@ApiModel(value = "营销广告管理", description = "")
public class MarketingAds implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "多法人总行机构标识")
    @TableField("inst_id")
    private String instId;

    @ApiModelProperty(value = "广告类型")
    @TableField("ad_type")
    private String adType;

    @ApiModelProperty(value = "营销页面地址")
    @TableField("marketing_page_path")
    private String marketingPagePath;

    @ApiModelProperty(value = "广告描述")
    @TableField("ad_desc")
    private String adDesc;

    @ApiModelProperty(value = "交易推送广告模板")
    @TableField("push_ad_module")
    private String pushAdModule;

    @ApiModelProperty(value = "生效日期")
    @TableField("begin_time")
    private String beginTime;

    @ApiModelProperty(value = "失效日期")
    @TableField("expire_time")
    private String expireTime;

    @ApiModelProperty(value = "影像序号")
    @TableField("image_index")
    private Integer imageIndex;

    @ApiModelProperty(value = "本地存储路径")
    @TableField("image_local_path")
    private String imageLocalPath;

    @ApiModelProperty(value = "远程存储路径")
    @TableField("image_remote_path")
    private String imageRemotePath;

    @ApiModelProperty(value = "缩略图存储路径")
    @TableField("thumbnail_path")
    private String thumbnailPath;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "创建机构")
    @TableField("crt_org_id")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("opr_id")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("last_opr_id")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField("last_update_time")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("last_audit_id")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("last_audit_time")
    private String lastAuditTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("remark1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("remark2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("remark3")
    private String remark3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("remark4")
    private String remark4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("remark5")
    private String remark5;

    @ApiModelProperty(value = "主数据标识")
    @TableField("main_data_id")
    private String mainDataId;

    @ApiModelProperty(value = "发布人")
    @TableField("isu_id")
    private String isuId;

    @ApiModelProperty(value = "发布时间")
    @TableField("isu_time")
    private String isuTm;

    @ApiModelProperty(value = "播放时长")
    @TableField("play_time")
    private String playTm;

    //商户集合
    @TableField(exist = false)
    private List merchantList;

    //商圈集合
    @TableField(exist = false)
    private List circleList;

    //机构集合
    @TableField(exist = false)
    private List orgInfoList;

    //操作标识
    @TableField(exist = false)
    private String optFlag;

    @TableField(exist = false)
    private String[] imgSrc;

    @TableField(exist = false)
    private String[] imgThumbSrc;

    @TableField(exist = false)
    private String[] imgNo;

    @TableField(exist = false)
    private String[] imgTm;

    @TableField(exist = false)
    private String[] dataId;

    @TableField(exist = false)
    private String adType1;
}
